/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ptr.controladores;

import java.sql.SQLException;

/**
 *
 * @author pavel
 */
import com.ptr.controladores.security;
public class driversql {

    public driversql() {
    }
String Driver=null, BD=null,server=null, Us=null,Lhost=null;
security sec=new security();
    public String driver() throws SQLException
    {Driver="com.microsoft.sqlserver.jdbc.SQLServerDriver";return Driver;}
    public String bd() throws SQLException
    {return sec.bd();}
    public String pw() throws SQLException
    {return sec.pw2();}
    public String server() throws SQLException
    {server="waldir-PC";return server;}
    public String us()throws SQLException
    {Us="sa";return Us;}
    public String lhost()throws SQLException
    {Lhost="//localhost:1433"; return Lhost;}
}